#ifndef PROCLIST_H
#define PROCLIST_H

#include "structs.h"

typedef	struct proc
{
	struct proc710	process;
	struct proc 	*prev;
	struct proc 	*next;
} proc;

typedef	struct p_list
{
	int 			size;
	struct proc 	*first;
	struct proc 	*last;
} p_list;

void push(p_list *list, proc710 data);
proc710 pop(p_list *list);
void removeElem(p_list *list, pid_t p);

#endif // PROCLIST_H
